home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL1003.txt
- // Copyright 1996 SPI
- // -----
-
-
- //Save Changes Dialog
-
- //NOTE: This dialog is NOT USED on Windows, the standard system Message box is.
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
-
- #define kLit1 "Save"
- #define kLit2 "Cancel"
- #define kLit3 "Don't Save"
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //Note: the following are CHAR constants, and must stay this way - the ASCII value is used in
- //an arithmetic expression below. Each constant must be exactly 1 char.
- #define kDontSaveKey 'd'
- #define kCancelKey 'c'
- #define kSaveKey 's'
-
- #define kOKWidth 70
- #define kCancelWidth 70
- #define kDontSaveWidth 100
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
-
-
- Margin(10,15,10,10, Width = 400)
- HList(Width = UseParent)
- {
- ICON(1002);
-
- Spacer(Width = 10, Height = 0);
-
- VList(Width = UseParent)
- {
- Spacer(Width = 20, Height = 0);
-
- StaticText(message, Width = UseParent);
- Spacer(Height = 30, Width = 0);
-
- HList(Width = UseParent)
- {
- CancelButton(kLit3, 1072, "None",
- Width = kDontSaveWidth,
- ExtraCommand = 32768 + kDontSaveKey); //ccSpecificKey
- Spacer(Height = 0, Width = UseParent);
- CancelButton(kLit2, 1070, "None",
- Width = kCancelWidth,
- ExtraCommand = 32768 + kCancelKey); //ccSpecificKey
-
- Spacer(Height = 0, Width = 14);
- DefaultButton(kLit1, 1071, "None",
- Width = kOKWidth,
- ExtraCommand = 32768 + kSaveKey); //ccSpecificKey
- }
- }
- }
-
-